package ji_tv;

public class Hisense_tv extends Televison {
boolean d3;
Hisense_tv(){}
Hisense_tv(boolean d3 ,String brand, byte size)
{
this.d3=d3;
    this.brand=brand;
    this.size=size;
}
@Override
    void output()
{
    if(d3==true)
    {
        System.out.println("电视机牌子"+brand+"尺寸是"+size);
        System.out.println("电视机是不是３ｄ"+d3);
    }
    else
    {
       super.output();
    }
}



}
